package com.cnhis.cloudhealth.clinical.clidoctor.clinewadvice.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.clinical.clidoctor.clinicaldoctoradviceeditor.mapper.CliVao1;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.BaseVO;
import com.cnhis.cloudhealth.commons.utils.Page;

@Repository
public class CliNewAdviceDao extends BaseDao
{
    
    public int getBlp02(Map map)
        throws Exception
    {
        return (int)queryForExtObject("CliNewAdvice.getBlp02", map);
    }
    
    public Integer getBlp04(Map map)
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getBlp04", map);
    }
    
    public Integer getVaa10(Map map)
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getVaa10", map);
    }
    
    public int getVcj04Vcj05(Map map)
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getVcj04Vcj05", map);
    }
    
    public Map getMaxSalePara(Map map)
        throws Exception
    {
        return (Map)queryForExtObject("CliNewAdvice.getMaxSalePara", map);
    }
    
    public Map getMaxSale21Para(Map map)
        throws Exception
    {
        return (Map)queryForExtObject("CliNewAdvice.getMaxSale21Para", map);
    }
    
    public Map getMaxSale22Para(Map map)
        throws Exception
    {
        return (Map)queryForExtObject("CliNewAdvice.getMaxSale22Para", map);
    }
    
    public int getJudgeSsMz(List ls)
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getJudgeSsMz", ls);
    }
    
    public String getJudgeMzfs(Map map)
        throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getJudgeMzfs", map);
    }
    
    public String getJudgeNoZd(Map map)
        throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getJudgeNoZd", map);
    }
    
    public int getBlpBlp0230()
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getBlpBlp0230", null);
    }
    
    public String getJudgeNoQkdj(Map map)
        throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getJudgeNoQkdj", map);
    }
    
    public int getJudNoTotal(Map map)
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getJudNoTotal", map);
    }
    
    public int getJudLydy(Map map)
        throws Exception
    {
        return (Integer)queryForExtObject("CliNewAdvice.getJudLydy", map);
    }
    
    public String getJudgeKssYymd(Map map)
        throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getJudgeKssYymd", map);
    }
    
    public List getJudgeOnlyXcy(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.getJudgeOnlyXcy", map);
    }
    
    public String getJudgeXsje(Map map)
        throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getJudgeXsje", map);
    }
    
    public String getJudgeXssl(Map map)
        throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getJudgeXssl", map);
    }
    
    public void insertCviVbg1(Map map)
        throws Exception
    {
        insert("CliNewAdvice.insertCviVbg1", map);
    }

    public void insertCAM1(Map map)
        throws Exception
    {
        insert("CliNewAdvice.insertCAM1", map);
    }
    

    
    public void addVBG1(Map map)
        throws Exception
    {
        insert("CliNewAdvice.addVBG1", map);
    }
    
    public void delVAF1ByCBM01(Map map)
        throws Exception
    {
        delete("CliNewAdvice.delVAF1ByCBM01", map);
    }
    
    public void delCBM1ByCBM01(Map map)
        throws Exception
    {
        delete("CliNewAdvice.delCBM1ByCBM01", map);
    }
    
    public void delVAO1ByCBM01(Map map)
        throws Exception
    {
        delete("CliNewAdvice.delVAO1ByCBM01", map);
    }
    
    public void delVBQ1ByCBM01(Map map)
        throws Exception
    {
        delete("CliNewAdvice.delVBQ1ByCBM01", map);
    }
    
    public List narcosisItemList(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.narcosisItemList", map);
    }
    
    public List checkOfficeProperty(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.checkOfficeProperty", map);
    }
    
    public List getTreamentOffice(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.getTreamentOffice", map);
    }
    
    public List<HashMap> getAllBLPList(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.getAllBLPList", map);
    }
    
    public List execProc(Map temp)
        throws Exception
    {
        return queryForList("CliNewAdvice.execProc", temp);
    }
    
    public List getExamineType(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.getExamineType", map);
    }
    
    public List getOfficeById(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.getOfficeById", map);
    }
    
    public List getVAL1(Map map)
        throws Exception
    {
        return queryForList("CliNewAdvice.getVAL1", map);
    }

    public List geiYaoTuJingList(Map map) throws Exception
    {
        return queryForList("CliNewAdvice.geiYaoTuJingList", map);
    }

    public List zhenLiaoPinCiList(Map map) throws Exception
    {
        return queryForList("CliNewAdvice.zhenLiaoPinCiList", map);
    }

    public String getCbm08() throws Exception
    {
        return (String)queryForExtObject("CliNewAdvice.getCbm08", null);
    }
}
